import request from '@/utils/request'

// 获取我的待办
export function getFlowTodoCount(organizeId) {
  return request({
    url: `/api/visualdev/Dashboard/FlowTodoCount?organizeId=${organizeId}`,
    method: 'get'
  })
}
// 获取通知公告
export function getNotice(organizeId) {
  return request({
    url: `/api/visualdev/Dashboard/Notice?organizeId=${organizeId}`,
    method: 'get'
  })
}
// 获取未读邮件
export function getEmail(organizeId) {
  return request({
    url: `/api/visualdev/Dashboard/Email?organizeId=${organizeId}`,
    method: 'get'
  })
}
// 获取待办事项
export function getFlowTodo(organizeId) {
  return request({
    url: `/api/visualdev/Dashboard/FlowTodo?organizeId=${organizeId}`,
    method: 'get'
  })
}
// 获取我的待办事项
export function getMyFlowTodo(organizeId) {
  return request({
    url: `/api/visualdev/Dashboard/MyFlowTodo?organizeId=${organizeId}`,
    method: 'get'
  })
}
